import request from '@/utils/request'
export default {
    //获取所有用户
    getAllUser:function(param){
        return request({
            method: 'get',
            url: '/userTask/getAllUser',
            data:param
        })
    },
    //新增用户
    add:function(param){
        return request({
            method: 'post',
            url: '/userTask/add',
            data:param
        })
    },
    //修改用户
    edit:function(param){
        return request({
            method: 'post',
            url: '/userTask/edit',
            data:param
        })
    },
    //删除用户
    deleteById:function(param){
        return request({
            method: 'post',
            url: '/userTask/deleteById',
            data:param
        })
    },
}
